package com.lxw.hi_mvp_mvvm.scene1_mvp;

/**
 * @authour
 * @function
 * @date 2021/4/16
 */
public class HomePresenter extends HomeContract.Presenter {
    @Override
    void getUserInfo() {

//        //伪代码
//        HiRestful.creat(Home.class).getUserInfo(new HiCallback<User>() {
//            void onSuccess(User user) {
//                if (view != null && view.isAlive()) {
//                    view.onGetUserInfoResult(user, null);
//                }
//            }
//        })
    }
}
